package com.zh.yqbj.exception.accountExcption;

import com.zh.yqbj.constant.ExceptionCodeConstant;

public class ErrorPhonePatternException extends Exception{
    private static final String MSG = "手机号错误,";

    /**
     * 手机号错误
     */
    public ErrorPhonePatternException() {
        super(MSG + ExceptionCodeConstant.PHONE_PATTERN_ERROR_CODE);
    }

    public ErrorPhonePatternException(String msg) {
        super(msg + ExceptionCodeConstant.PHONE_PATTERN_ERROR_CODE);
    }
}
